FROM java:8
MAINTAINER sunfeng<18354680214@163.com>
VOLUME /temp
ADD cloud-eureka-server7001-1.0-SNAPSHOT.jar app.jar
RUN bash -c 'touch /app.jar'
EXPOSE 7001
ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-jar","/app.jar"]